package com.es.easystoragesimulatedata.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 社会效益数据模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "社会效益数据模型")
public class SocialBenefit {
    
    @JsonProperty("savedCoal")
    @Schema(description = "节约标准煤", example = "12.5")
    private Double savedCoal;
    
    @JsonProperty("co2Reduction")
    @Schema(description = "CO2减排量", example = "32.8")
    private Double co2Reduction;
    
    @JsonProperty("equivalentTrees")
    @Schema(description = "等效植树量", example = "89.2")
    private Double equivalentTrees;
    
    @JsonProperty("savedCoalUnit")
    @Schema(description = "节约标准煤单位", example = "万吨")
    private String savedCoalUnit = "万吨";
    
    @JsonProperty("co2ReductionUnit")
    @Schema(description = "CO2减排量单位", example = "万吨")
    private String co2ReductionUnit = "万吨";
    
    @JsonProperty("equivalentTreesUnit")
    @Schema(description = "等效植树量单位", example = "万棵")
    private String equivalentTreesUnit = "万棵";
}
